﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace EntranceApp
{
    class Material
    {
        private string material_id;
        private string name;
        private DateTime borrow_date;
        private DateTime return_date;
        private string description;

        public string Material_id { get { return material_id; } set { material_id = value; } }
        public string Name { get { return name; } set { name = value; } }
        public DateTime Borrow_date { get { return borrow_date; } set { borrow_date = value; } }
        public DateTime Return_date { get { return return_date; } set { return_date = value; } }
        public string Description { get { return description; } set { description = value; } }

        public Material(string material_id,string name,DateTime borrow_date,DateTime return_date,string description)
        {
            this.material_id = material_id;
            this.name = name;
            this.borrow_date = borrow_date;
            this.return_date = return_date;
        }
        //methods
        //To do ToString();
    }
}
